﻿using System;
using System.Collections.Generic;
using System.Text;

namespace TaxEntity.Log
{
    /// <summary>
    /// 邮件日志
    /// </summary>
    [Serializable]
    public class EmailLogEntity
    {
        public EmailLogEntity()
        {
        }

        private long id;
        private long? userID;
        private string userName;
        private string sName;
        private string optContent;
        private string sendUser;
        private string sendToUser;
        private int? departmentID;
        private DateTime? optTime;
        private int? status;

        /// <summary>
        /// 自增id
        /// </summary>
        public long Id
        {
            set { id = value; }
            get { return id; }
        }
        /// <summary>
        /// 用户编号
        /// </summary>
        public long? UserID
        {
            set { userID = value; }
            get { return userID; }
        }
        /// <summary>
        /// 用户名
        /// </summary>
        public string UserName
        {
            set { userName = value; }
            get { return userName; }
        }
        /// <summary>
        /// 姓名
        /// </summary>
        public string SName
        {
            set { sName = value; }
            get { return sName; }
        }
        /// <summary>
        /// 操作内容
        /// </summary>
        public string OptContent
        {
            set { optContent = value; }
            get { return optContent; }
        }
        /// <summary>
        /// 操作时间
        /// </summary>
        public DateTime? OptTime
        {
            set { optTime = value; }
            get { return optTime; }
        }
        /// <summary>
        /// 部门编号
        /// </summary>
        public int? DepartmentID
        {
            set { departmentID = value; }
            get { return departmentID; }
        }
        /// <summary>
        /// 收信人
        /// </summary>
        public string SendToUser
        {
            get { return sendToUser; }
            set { sendToUser = value; }
        }
        /// <summary>
        /// 发送人
        /// </summary>
        public string SendUser
        {
            set { sendUser = value; }
            get { return sendUser; }
        }
        /// <summary>
        /// 发送状态：1--成功;0--失败
        /// </summary>
        public int? Status
        {
            set { status = value; }
            get { return status; }
        }

    }
}